#ifndef _EQAPP_CONFIG_H
#define _EQAPP_CONFIG_H

#include <eq/config.h>

#include "../common/objstate.h"

namespace eqApp
{
    class Config : public eq::Config
    {
        public:
            Config(eq::ServerPtr parent);
            
            virtual bool init(const eq::uint128_t&);
            virtual bool exit();
            
            virtual uint32_t startFrame(const eq::uint128_t& frameID);
            
            virtual bool handleEvent(const eq::ConfigEvent* event);
            
        private:
            eqCommon::ObjState state;
            int32_t width, height;
            GLfloat z0, w0, h0;
            bool leftDown, rightDown;
    };
}

#endif
